﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

using BankService.CallbackInterface;

namespace BankService.ServiceInterface {

    [ServiceContract(CallbackContract = typeof(IBankCallback))]
    public interface IBankService {

        [OperationContract]
        LogInOutput LogIn(LogInInput input);

        [OperationContract]
        void LogOut(string sessionId);

        [OperationContract]
        bool Register(RegisterInput input);

        [OperationContract]
        bool Transfer(TransferInput input);
    }
}